export default defineNuxtConfig({
  modules: [
    '@element-plus/nuxt'
  ],
  compatibilityDate: '2024-11-01',
  runtimeConfig: {
    // public: {
    //   baseURL: 'https://www.shengliaoxia.top'
    // }
  },
  devtools: { enabled: true },
  app: {
    head: {
      charset: 'utf-8',
      viewport: 'width=device-width, initial-scale=1',
      htmlAttrs: {
        lang: 'zh-CN'
      }
    }
  },
  nitro: {
    devProxy: {
      '/api': {
        target: 'https://www.shengliaoxia.top',
        changeOrigin: true,
        secure: false
      }
    }
  }
})
